<template>
  <div id="app">
   <el-container>
    <el-header>
      <Header></Header>
    </el-header>
    <MyLogin class="mylogin"></MyLogin>
    <el-main>
      <keep-alive>
        <router-view/>
      </keep-alive>
    </el-main>
    <!-- <el-footer><Footer></Footer></el-footer> -->
   </el-container>
  </div>
</template>

<script>
 import Header from './components/Header.vue'
//  import Footer from './components/Footer.vue'
//  import Goods from './views/Goods.vue';
//  import Order from './views/Order.vue';
//  import AboutView from './views/AboutView.vue';
import MyLogin from './components/MyLogin.vue';
export default {

data(){
  return{
    activeIndex: "", // 头部导航栏选中的标签
    search: "", // 搜索条件
  }
  },
created(){

},
methods:{

},
 components:{
  Header,MyLogin
 }
}
</script>

<style lang="less" scoped >

.el-main{
  min-height: 300px;
  margin-top: 80px;
  padding:  0;
  
  // background: pink;
}
.el-header{
padding: 0;
display: block;
height: 124px;
}
.el-menu{
  width: 1200px;
  margin-left: auto;
  margin-right: auto;
}
.logo {
  height: 60px;
  width: 189px;
  float: left;
  margin-right: 100px;
}
.so {
  margin-top: 10px;
  width: 300px;
  float: right
}
</style>
